Servebolt\Optimizer\CachePurge\CachePurge C

Total Complexity 101
Dependencies 5
Dependents 29
Total lines 625
Lines of code 286
Logical lines of code 116
Comment lines 248
Methods 41
Properties 3

Methods 41

Method Rating Maintainability Complexity Lines of code
resolveDriverName()
A
51 13 28
resolveDriverNameWithoutConfigCheck()
A
55 10 21
featureIsConfigured()
S
56 7 21
getSelectedCachePurgeDriver()
S
57 5 17
resolveDriverObject()
S
63 4 11
queueBasedCachePurgeActiveStateIsOverridden()
S
72 4 5
cachePurgeByServerAvailable()
S
70 4 6
queueBasedCachePurgeIsActive()
S
61 3 13
queueBasedCachePurgeActiveStateOverride()
S
65 3 10
__call()
S
67 3 7
driverSupportsUrlCachePrefixPurge()
S
69 2 6
driverSupportsCacheTagPurge()
S
69 2 6
cachePurgeIsLockedTo()
S
78 2 3
driverSupportsUrlCachePurge()
S
69 2 6
driverSupportsUrlCacheTagPurge()
S
69 2 6
automaticCachePurgeIsAvailable()
S
71 2 6
driverSupportsCachePurgeAll()
S
69 2 6
driverSupportsCachePurgeServer()
S
69 2 6
acdIsConfigured()
S
68 2 7
serveboltCdnIsConfigured()
S
68 2 7
cachePurgeByUrlIsAvailable()
S
75 2 4
featureIsAvailable()
S
78 2 3
defaultDriverName()
S
79 2 3
cloudflareIsConfigured()
S
67 2 8
isActive()
S
64 1 12
driverRequiresServeboltHosting()
S
79 1 3
driverSupportsItemCachePurge()
S
80 1 3
__construct()
S
80 1 3
acdIsSelected()
S
78 1 3
serveboltCdnIsSelected()
S
78 1 3
cachePurgeDriverIsOverridden()
S
80 1 3
setActiveState()
S
78 1 3
automaticCachePurgeOnSlugChangeIsActive()
S
73 1 5
automaticCachePurgeOnDeletionIsActive()
S
73 1 5
automaticCachePurgeOnAttachmentUpdateIsActive()
S
73 1 5
cfCacheTagsIsActive()
S
73 1 5
automaticCachePurgeOnContentUpdateIsActive()
S
73 1 5
featureIsActive()
S
79 1 3
defaultDriverObject()
S
80 1 3
getDriverObject()
S
82 1 3
cloudflareIsSelected()
S
78 1 3